import {
  BASE
} from '../api'
import axios from '../http'
import qs from 'qs'
const USERMANAGE = {
  // 添加用户
  ADDUSER: params =>
    axios.post(`${BASE.PRO}Luanzhou/deviceInfo/addDeviceInfo`, qs.stringify(params)),
  // 修改用户
  EDITUSER: params =>
    axios.post(`${BASE.PRO}Luanzhou/deviceInfo/editDeviceInfo`, qs.stringify(params)),
  // 企业列表
  COMPANYLIST: params =>
    axios.post(`${BASE.PRO}Luanzhou/deviceInfo/selectByInfo`, qs.stringify(params)),
}

export default USERMANAGE